import Vue from "vue";
import Vuex from "vuex";
Vue.use(Vuex);
import userInfo from "./modules/userInfo";
import webBasicInfo from "./modules/webBasicInfo";
import menuManage from "./modules/menuManage";
import common from "./modules/common";
//公共模块
import publics from "./modules/publics";
import sysClassify from "./modules/sysClassify";
//采集模块
import spiderTask from "./modules/collect/spiderTask";
import spiderLog from "./modules/collect/spiderLog";
import sysNewsContents from "./modules/collect/sysNewsContents";
//网盘模块
import netDisk from "./modules/netDisk/netDisk";
import netData from "./modules/netDisk/netData";
//网站模板
import webTemplate from "./modules/webTemplate/webTemplate";
//用户模块
import tbSysRole from "./modules/user/tbSysRole";
import tbSysDept from "./modules/user/tbSysDept";
import tbSysUser from "./modules/user/tbSysUser";
//网站栏目
import webColumn from "./modules/webColumn/sysWebColumn";
import sysPicSource from "./modules/webColumn/sysPicSource";
import sysLinkSource from "./modules/webColumn/sysLinkSource";
import sysJournal from "./modules/webColumn/sysJournal";
import sysRoleColumn from "./modules/webColumn/sysRoleColumn";
//网站访问量
import webCount from "./modules/webCount";
//审核流程
import flowApi from "./modules/audit/flowApi";

export default new Vuex.Store({
  modules: {
    userInfo,
    webBasicInfo,
    menuManage,
    common,
    publics,
    sysClassify,
    spiderTask,
    spiderLog,
    sysNewsContents,
    netDisk,
    netData,
    webTemplate,
    tbSysRole,
    tbSysDept,
    tbSysUser,
    webColumn,
    sysPicSource,
    sysLinkSource,
    sysJournal,
    webCount,
    flowApi,
    sysRoleColumn,
  },
});
